package com.ddstation.exchange.mapper;

import com.ddstation.exchange.entity.AllTypesTableEntity;
import com.ddstation.exchange.entity.DtInvsMessageQueueUaEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AllTypesTableMapper {

    int insertReplace(AllTypesTableEntity entity);

    int updateReplace(AllTypesTableEntity entity);

    List<Map<String,Object>> selectInInstitutionIds(AllTypesTableEntity entity);

    List<Map<String,Object>> selectUpdateInInstitutionIds(AllTypesTableEntity entity);

    List<Map<String,Object>> selectInInstitutionIdsOfJoin(AllTypesTableEntity entity);

    List<Map<String,Object>> selectUpdateInInstitutionIdsOfJoin(AllTypesTableEntity entity);

    List<Map<String,Object>> selectAllByTable(AllTypesTableEntity entity);

    List<Map<String,Object>> getUpdateByTable(AllTypesTableEntity entity);

    int updateObtainTm(AllTypesTableEntity entity);

    List<Map<String,Object>> selectInIds(AllTypesTableEntity entity);

    List<Map<String,Object>> selectInParentInstitutionIds(AllTypesTableEntity entity);

    List<Map<String,Object>> selectUpdateInIds(AllTypesTableEntity entity);

    List<Map<String,Object>> selectUpdateInParentInstitutionId(AllTypesTableEntity entity);

    List<Map<String,Object>> selectImgs(AllTypesTableEntity entity);

    int updateSendCompleteData(AllTypesTableEntity entity);

    int updateSendErrorData(AllTypesTableEntity entity);

    int updateSendErrorDataIsUpdate(AllTypesTableEntity entity);

    int updateSendCompleteDataByKeys(AllTypesTableEntity entity);

    int updateSendErrorDataByKeys(AllTypesTableEntity entity);

    int updateSendErrorDataIsUpdateByKeys(AllTypesTableEntity entity);

    List<Map<String,Object>> getUpdateByAppeal(AllTypesTableEntity entity);

    List<Map<String,Object>> getUpdateByCheckDaily(AllTypesTableEntity entity);
}